package com.shunhao.event

import androidx.recyclerview.widget.RecyclerView

/**
 * RecyclerView 的列表监听
 *
 * @param <T>
 * @author kang gui yang
</T> */
interface OnItemClickListeners<T> {
    /**
     * 列表监听
     *
     * @param viewHolder viewHolder
     * @param data       item Data
     * @param position   item index
     */
    fun onItemClick(viewHolder: RecyclerView.ViewHolder?, data: T?, position: Int)
}